<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
		<!-- Google Chrome Frame也可以让IE用上Chrome的引擎: -->
		<meta name="renderer" content="webkit">
		<!--国产浏览器高速模式-->
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="网站简介" />
		<!-- 网站简介 -->
		<meta name="keywords" content="搜索关键字，以半角英文逗号隔开" />
		<title>数据监控编辑</title>
		
		<!-- 公共样式 开始 -->
		<link rel="stylesheet" type="text/css" href="../../css/base.css">
		<link rel="stylesheet" type="text/css" href="../../css/iconfont.css">
		<script type="text/javascript" src="../../framework/jquery-1.11.3.min.js"></script>
		<link rel="stylesheet" type="text/css" href="../../layui/css/layui.css">
		<script type="text/javascript" src="../../layui/layui.js"></script>
		<!-- 滚动条插件 -->
		<link rel="stylesheet" type="text/css" href="../../css/jquery.mCustomScrollbar.css">
		<script src="../../framework/jquery-ui-1.10.4.min.js"></script>
		<script src="../../framework/jquery.mousewheel.min.js"></script>
		<script src="../../framework/jquery.mCustomScrollbar.min.js"></script>
		<script src="../../framework/cframe.js"></script><!-- 仅供所有子页面使用 -->
		<!-- 公共样式 结束 -->
	</head>

	<body>
		<div class="">
			<form id="addForm" class="layui-form" action="">
				<div class="layui-col-md6">
					<div class="layui-form-item" style="display:none">
						<label class="layui-form-label"style="width:100px;">编号</label>
						<div class="layui-input-inline">
							<input type="text" id="routeid" name="routeid"  required lay-verify="required" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label"style="width:100px;">线路名称</label>
						<div class="layui-input-inline">
							<input type="text" id="routename" name="routename" required lay-verify="required" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label"style="width:100px;">起点</label>
						<div class="layui-input-inline">
							<input type="text" id="start" name="start" required lay-verify="required" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label"style="width:100px;">终点</label>
						<div class="layui-input-inline">
							<input type="text" id="ends" name="ends" required lay-verify="required" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label" style="width:100px;">出发时间</label>
						<div class="layui-input-block">
							<input type="text" class="layui-input" id="statetime" name="statetime" style="width:190px;" placeholder="yyyy-MM-dd" autocomplete="off">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label" style="width:100px;">到达时间</label>
						<div class="layui-input-block">
							<input type="text" class="layui-input" id="endtime" name="endtime" lay-verify="endtime" style="width:190px;" placeholder="yyyy-MM-dd" autocomplete="off">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label"style="width:100px;">终点签到</label>
						<div class="layui-input-inline">
							<input type="text" id="endIsdit" name="endIsdit" required lay-verify="required" autocomplete="off" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label"style="width:100px;">备注</label>
						<div class="layui-input-inline">
							<input type="text" id="routenote" name="routenote" autocomplete="off" class="layui-input">
						</div>
					</div>
				</div>
				
				<div class="layui-form-item layui-hide">
					<input type="button" lay-submit lay-filter="btn_update" id="btn_update" value="编辑添加">
				</div>
			</form>	
		</div>
		<script src="../../js/application.js"></script>
		<script src="../../js/editRoute.js"></script>
		<script>
		layui.use('laydate', function(){
		    var laydate = layui.laydate;
		    laydate.render({
		      elem: '#statetime' ,
		     //指定元素
		    });
		});
		</script>
		<script>
		layui.use('laydate', function(){
		    var laydate2 = layui.laydate;
		    laydate2.render({
		      elem: '#endtime' ,
		     //指定元素
		    });
		});
		</script>
	</body>
</html>
